Borrow , Copy or Steal ? Loans and Larceny in the Orthodox Canonical Form Anthony

نویسنده

  • Anthony J. H. Simons
چکیده

Dynamic memory management in C++ is complex, especially across the boundaries of library abstract data types. C++ libraries designed in the orthodox canonical form (OCF) alleviate some of the problems by ensuring that classes which manage any kind of heap structures faithfully copy and delete these. However, in certain common circumstances, OCF heap structures are wastefully copied multiple times. General reference counting is not an option in OCF, since a shared body violates the intended value semantics; although a copy-onwrite policy can be made to work with borrowed heap structures. A simpler ownership policy, based on larceny, allows low-level memory manager objects to steal heap structures from temporary variables, in properly isolated circumstances. Various strategies for regulating theft are presented, ranging from pilfer-constructors to locks on heap data. Larceny has similarities with other transfer of ownership patterns, but is more a core implementation technique designed to improve the efficiency and effectiveness of OCF-conformant libraries.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Women in Contemporary Jewish Thought: A Comparative Study of an Orthodox and a Non-Orthodox Feminist Approach

This paper briefly examines two approaches to the position of women in Judaism. One is from an orthodox perspective, represented by Chana Weisberg, and the other is a non-orthodox and feminist approach, represented by Judith Plaskow. By examining these two approaches, we expect to contribute to a better understanding of the diverse views of women in contemporary Judaism. Plaskow criticizes t...

متن کامل

Bank Lending and Credit Supply Shocks

This paper analyzes the linkages between credit supply conditions and bank lending. Building on the recent work of Gilchrist and Zakraǰsek [2011], we use the excess bond premium—a component of corporate credit spreads designed to measure shifts in the risk attitudes of financial intermediaries—to empirically identify credit supply shocks. Our results indicate that shocks to the excess bond prem...

متن کامل

Bonn Econ Discussion Papers Subprime Borrowers, Securitization and the Transmission of Business Cycles by Subprime Borrowers, Securitization and the Transmission of Business Cycles

One of the roots of the recent global financial crisis has been seen in the design of subprime mortgage contract leading to high sensitivity of such type of loans to house price changes. The market of subprime loans, especially in the last years preceding the crisis, has been highly financed by securitization. The paper investigates how borrowers with subprime characteristics influence the tran...

متن کامل

Is There Stigma Associated with Discount Window Borrowing?

to such loans? This question is important to monetary policy. Like other central banks, normally the Fed makes loans to banks through its discount window. This credit has long been thought to be an important tool for responding to financial strain. But if banks are reluctant to borrow from the Fed because of a stigma attached to such loans, then the Fed’s ability to provide liquidity as a lende...

متن کامل

Incompetent maintenance/inept response--eighty more Eastern-Cape babies die.

Carol Cronje, of Imali Cash Loans, said an unprecedented number of grandmothers began arriving at her office seeking loans to pay for baby funerals. Later, in a casual conversation with the local undertaker she discovered that he had conducted over a dozen infant burials between January and March this year. ‘People often borrow money for funerals, but they never really borrow to bury small chil...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1998